/*
 * Created by JFormDesigner on Sun Apr 28 20:32:43 CST 2024
 */

package t5.num1;

import javax.swing.*;
import net.miginfocom.swing.*;

/**
 * @author ASUS
 */
public class 注册 extends JFrame {
    public 注册() {
        initComponents();
    }

    private void initComponents() {
        // JFormDesigner - Component initialization - DO NOT MODIFY  //GEN-BEGIN:initComponents  @formatter:off
        // Generated using JFormDesigner Open Source Project license - 淘宝星河飘雪
        label1 = new JLabel();
        textField1 = new JTextField();
        label2 = new JLabel();
        textField2 = new JPasswordField();
        label3 = new JLabel();
        radioButton1 = new JRadioButton();
        radioButton2 = new JRadioButton();
        label4 = new JLabel();
        comboBox1 = new JComboBox();
        checkBox1 = new JCheckBox();
        checkBox2 = new JCheckBox();
        button1 = new JButton();
        button2 = new JButton();

        //======== this ========
        setTitle("\u6ce8\u518c");
        var contentPane = getContentPane();
        contentPane.setLayout(new MigLayout(
            "hidemode 3",
            // columns
            "[fill]" +
            "[fill]" +
            "[fill]" +
            "[fill]" +
            "[fill]" +
            "[fill]" +
            "[fill]" +
            "[fill]" +
            "[fill]" +
            "[fill]" +
            "[fill]",
            // rows
            "[]" +
            "[]" +
            "[]" +
            "[]" +
            "[]" +
            "[]" +
            "[]" +
            "[]" +
            "[]"));

        //---- label1 ----
        label1.setText("\u7528\u6237\u540d");
        contentPane.add(label1, "cell 0 1 2 1");

        //---- textField1 ----
        textField1.setText("sss");
        contentPane.add(textField1, "cell 2 1 5 1");

        //---- label2 ----
        label2.setText("\u5bc6\u7801");
        contentPane.add(label2, "cell 0 2 2 1");

        //---- textField2 ----
        textField2.setText("ssss");
        contentPane.add(textField2, "cell 2 2 5 1");

        //---- label3 ----
        label3.setText("\u6027\u522b");
        contentPane.add(label3, "cell 0 3 2 1");

        //---- radioButton1 ----
        radioButton1.setText("\u7537");
        contentPane.add(radioButton1, "cell 2 3");

        //---- radioButton2 ----
        radioButton2.setText("\u5973");
        contentPane.add(radioButton2, "cell 4 3");

        //---- label4 ----
        label4.setText("\u8bc1\u4ef6\u7c7b\u578b");
        contentPane.add(label4, "cell 0 4 2 1");
        contentPane.add(comboBox1, "cell 2 4 5 1");

        //---- checkBox1 ----
        checkBox1.setText("\u8bb0\u4f4f\u6211\u7684\u7684\u4fe1\u606f");
        contentPane.add(checkBox1, "cell 0 5");

        //---- checkBox2 ----
        checkBox2.setText("\u540c\u610f\u5e76\u9075\u5b88\u6ce8\u518c\u534f\u8bae");
        contentPane.add(checkBox2, "cell 2 5 5 1");

        //---- button1 ----
        button1.setText("\u6ce8\u518c");
        contentPane.add(button1, "cell 0 7");

        //---- button2 ----
        button2.setText("\u53d6\u6d88");
        contentPane.add(button2, "cell 2 7 3 1");
        pack();
        setLocationRelativeTo(getOwner());
        // JFormDesigner - End of component initialization  //GEN-END:initComponents  @formatter:on
    }

    // JFormDesigner - Variables declaration - DO NOT MODIFY  //GEN-BEGIN:variables  @formatter:off
    // Generated using JFormDesigner Open Source Project license - 淘宝星河飘雪
    private JLabel label1;
    private JTextField textField1;
    private JLabel label2;
    private JPasswordField textField2;
    private JLabel label3;
    private JRadioButton radioButton1;
    private JRadioButton radioButton2;
    private JLabel label4;
    private JComboBox comboBox1;
    private JCheckBox checkBox1;
    private JCheckBox checkBox2;
    private JButton button1;
    private JButton button2;
    // JFormDesigner - End of variables declaration  //GEN-END:variables  @formatter:on
}
